//2009/08/10 02:22:10
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <algorithm>
#include <sstream>

using namespace std;

class SimpleCalculator
{
public:
    int calculate(string input)
    {
		stringstream s(input);
		int a;
		int b;
		char c;
		s >> a >> c >> b;
		if(c == '+') return a + b;
		if(c == '-') return a - b;
		if(c == '*') return a * b;
		if(c == '/') return a / b;
    }
};
